<?php
/**
 * This file contains the class AlertsIntroModel which provides
 * most of the code requirements for the alerts page
 *
 * @copyright  2009 A Memory Tree
 * @license    A Memory Tree License
 */
/**
 * This class provides the code for the alerts intro page
 *
 * @copyright  2009 A Memory Tree
 * @license    A Memory Tree License
 */
class AlertsIntroModel
{
    /**
     * Access to the View methods
     *
     * @var AlertsIntroView
     */
    private $_view;
    /**
     * Access to the Helper methods
     *
     * @var Helper
     */
    private $_helper;
    /**
     * Create a new instance of this class
     *
     * @return void
     * @param AlertsIntroView $view
     * @param Helper $helper
     */
    function __construct($view, $helper)
    {
        $this->_view = $view;
        $this->_helper = $helper;
    }
    /**
     * Render the page
     *
     * @return string
     */
    function render()
    {
        $helper = $this->_helper;
        $view = $this->_view;
        $intro = $helper->import('static/alertsIntro.php');
        $content = $view->content($intro);
        return $view->render($content);
    }
}
?>